if ! which pip >/dev/null; then
    if which pacman >/dev/null; then
        sudo pacman -S --noconfirm python-pip
    else
        echo "need install pip"
        exit
    fi
fi

pip install pyyaml -i https://pypi.tuna.tsinghua.edu.cn/simple
